import pandas as pd

student = {
    "姓名": ['张三', '李四', '王五'],
    "性别": ['男', '男', '女'],
    "年龄": [18, 19, 20],
    "成绩": [90, 85, 95]
}

pd_stu = pd.Series(student)
# 打印 Pandas Series 对象
print(pd_stu)
# 打印 Pandas Series 对象的索引
print(pd_stu.index)
# 打印 Pandas Series 对象的值
print(pd_stu.values)
# 打印 Pandas Series 对象的数据类型
print(pd_stu.dtype)
# 打印 Pandas Series 对象的形状
print(pd_stu.shape)
# 打印 Pandas Series 对象的维度
print(pd_stu.ndim)
# 打印 Pandas Series 对象的元素个数
print(pd_stu.size)

print(pd_stu.values)
